﻿@using Admin.Common;
@using System.Reflection;
@using System.Resources;
@{
    var rm = new ResourceManager("resources.FrontEndResource", Assembly.Load("App_GlobalResources"));
    Admin.Models.BookingDBEntities db = new Admin.Models.BookingDBEntities();
     var Menu = db.TblMenus.ToList();
     int i = 0;
}
<header class="row">
    <div class="four columns">
        <img src="~/Content/images/logoNhaTrangtravel.png" alt="nha trang travel">
    </div>
    <div class="seven columns push_one">
        <div class="picker clearfix">
            <div id="polyglotLanguageSwitcher">
                <form action="#">
                    <select id="polyglot-language-options">
                        @switch (int.Parse(Session["CurrentCulture"].ToString()))
                        {
                            case 0:
                            <option id="vn" value="vn" selected>Việt Nam</option>
                            <option id="en" value="en">English</option>
                                break;
                            case 1:
                            <option id="vn" value="vn">Việt Nam</option>
                            <option id="en" value="en" selected>English</option>
                                break;
                        }

                    </select>
                </form>
            </div>
        </div>
        <div class="navbar">
            <nav>
                <ul>
                    
                    @foreach (var item in Menu)
                    { 
                        <li>
                            @Html.ActionLink(rm.GetString(item.KeyName),item.ActionName,item.ControllerName)
                        </li>
                    }
                </ul>

            </nav>
        </div>
    </div>
</header>
